package com.wanmait.wisdom.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.wisdom.entity.Owner;

import java.util.Date;

public interface ManageOwnerService extends IService<Owner> {
    Page<Owner> selectAllOwnerInfo(Integer pageNum, Integer pageSize);

    Owner selectOwnerById(Integer Id);

    int updateOwner(Owner owner);
    Long getOwnerCount();

    PageInfo<Owner> findOwnerByCondition(Owner owner, Integer pageNum, Date startTime, Date endTime,Integer pageSize);
}
